home *** CD-ROM | disk | FTP | other *** search
- Path: news.belnet.be!wb-02
- From: jeanphi@oma.be (JPh Guisset)
- Newsgroups: comp.lang.c++
- Subject: Defining a "null" output stream
- Date: Thu, 22 Feb 96 15:28:12 GMT
- Organization: IRM
- Message-ID: <4ghuib$r4u@vivaldi.belnet.be>
- NNTP-Posting-Host: @wb-02.oma.be
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- I would like to define different logging levels (clog0, clog1, ...) by simply
- redefining those stream to cerr, clog or cnull. cnull would be an ostream-like
- object but that would do nothing. Does someone know how to create such a
- "output stream"?
-
- Thanks.
-
-
- --
- Jean-Philippe Guisset Inst. Royal Meteorologique de Belgique
- Reply to: Jean-Philippe.Guisset@oma.be
-